﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<#include "/views/ftl/base/manager_include.ftl">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>举报类型列表</title>
<style>
A{
color: #333;
}

</style>
<script type="text/javascript">
$().ready(function() {
	$("#search_button").click(function(){
		$('#select_form').submit();
    });
});

</script>
</head>
<body style="background:#eef3f7;">
<#include "/views/ftl/base/head.ftl">
<div class="Main">
  <div class="dw">
<#include "/views/ftl/base/menu.ftl">
<#function a><#return "举报类型_List"></#function> 
<!--右边内容-->
<div class="Rightbox fl">
    <!--导航-->
    <div class="Bread_crbs clear">
      <div class="Bread_crbs_img fl"></div>
      <div class="Bread_crbs_text fl">
      	<a href="javascript:void(0);"><span>举报、反馈</span></a>
      	<span class="fnt_famy">></span>
      	<a href="javascript:void(0);"><span>举报类型</span></a>
      </div>
    </div>
      <!--搜索框-->
        <form action="${basePath }manager/Complain_complainTypeList" id="select_form" method="GET">
        	<span class="fl searchTitle" style="font-size: 14px;color: #333333;">类型描述:</span>
        	<div class="searchBox fl">
          		<div class="search_img fl"></div>
          		<input class="search_text" type="text" name="typeExplain" placeholder="请输入关键字 " value="${(complainVo.typeExplain)!''}"/>  
        	</div>
        	
       <a id="search_button" class="search_btn fl" href="javascript:void(0);"><span>搜索</span></a>
       <a class="added fl" href="javascript:add();"><span>新增</span></a>     
        </form>
        
       
        <div class="clear"></div>  
        <!--表格列表-->
        <div class="Table">
          <table id="table" cellpadding="0" cellspacing="1">
            <tbody>
              <tr id="gl">			 
             <td>举报类型</td>
             <td>类型描述</td>
             <td>需要付费查看</td>
             <td>操作</td>
             </tr>
              <#if (pager.list??)> 
         <#if ((pager.list?size)>0)>
          <#list pager.list as cType>
            
     		<tr>
			<td>
			${(cType.typeName)!''}
			</td>
          	<td>${(cType.typeExplain)!''}</td>
          	<td><#if (cType.needPayLook==0)>不需要</#if>
          	<#if (cType.needPayLook==1)>需要</#if>
           <td class="tbl_btn">
                  <a href="${basePath }manager/Complain_toUpdateComplainType?complainTypeId=${(cType.id?c)!''}"><span id="green">编辑</span></a>
                </td>
              </tr>
            </#list >
          </#if>
          </#if> 
            </tbody>
          </table>
        </div>
  	<#import "../../base/pager.ftl" as p>
   	<@p.pager pager = pager baseUrl = "manager/Complain_complainTypeList" parameterMap={"typeExplain":(typeExplain)!''} />
      </div>
      </div> 
</div>
<script type="text/javascript">
function add()
{
	window.location.href= "${basePath }manager/Complain_toSaveComplainType";
}

</script>


</body>
</html>

